package com.yipao.db.dao.sales;


import com.yipao.db.domain.sales.Sales;
import com.yipao.db.domain.sales.SalesExample;

import java.util.List;

public interface SalesMapper {
    int countByExample(SalesExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Sales record);

    int insertSelective(Sales record);

    List<Sales> selectByExample(SalesExample example);

    Sales selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Sales record);

    int updateByPrimaryKey(Sales record);

    //获取全部产品名
    List<Sales> getAllName();

    //获取全部订单状态
    List<Sales> getAllStatus();

    //获取全部支付类型
    List<Sales> getAllType();
}